package com.example.myshools.entity;

import java.util.ArrayList;
import java.util.List;

public class Activities{
    private int id;
    private int organizationId;
    private String upTime;
    private int viewNum;
    private String content;
    private String label;
    private int status;
    private List<Img> imgPathList=new ArrayList<>();
    private Orgnat orgnat;
    private String title;
    private int isSetJoinNum;//是否设置了参加人数
    private int userApplyStatus;////用户是否申请参加活动，若参加活动返回的结果，参加成功还是失败
    private int toApply;//用户是否正在提交申请

    public int getToApply() {
        return toApply;
    }

    public void setToApply(int toApply) {
        this.toApply = toApply;
    }

    public int getUserApplyStatus() {
        return userApplyStatus;
    }

    public void setUserApplyStatus(int userApplyStatus) {
        this.userApplyStatus = userApplyStatus;
    }

    public int getIsSetJoinNum() {
        return isSetJoinNum;
    }

    public void setIsSetJoinNum(int isSetJoinNum) {
        this.isSetJoinNum = isSetJoinNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Orgnat getOrgnat() {
        return orgnat;
    }

    public void setOrgnat(Orgnat orgnat) {
        this.orgnat = orgnat;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(int organizationId) {
        this.organizationId = organizationId;
    }

    public String getUpTime() {
        return upTime;
    }

    public void setUpTime(String upTime) {
        this.upTime = upTime;
    }

    public int getViewNum() {
        return viewNum;
    }

    public void setViewNum(int viewNum) {
        this.viewNum = viewNum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<Img> getImgPathList() {
        return imgPathList;
    }

    public void setImgPathList(List<Img> imgPathList) {
        this.imgPathList = imgPathList;
    }

    @Override
    public String toString() {
        return "Activities{" +
                "id=" + id +
                ", organizationId=" + organizationId +
                ", upTime='" + upTime + '\'' +
                ", viewNum=" + viewNum +
                ", content='" + content + '\'' +
                ", label='" + label + '\'' +
                ", status=" + status +
                ", imgPathList=" + imgPathList +
                ", orgnat=" + orgnat +
                ", title='" + title + '\'' +
                ", isSetJoinNum=" + isSetJoinNum +
                ", userApplyStatus=" + userApplyStatus +
                '}';
    }
}
